import request from '@/utils/request'

// 获取商品分类
export function cate(params) {
  return request({
    url: '/category/category_list',
    method: 'get',
    params
  })
}

// 新增商品分类
export function addCate(data) {
  return request({
    url: '/category/category',
    method: 'post',
    data
  })
}

